package com.company.设计模式.工厂模式.工厂方法模式.抽象类实现;

import com.company.设计模式.工厂模式.ConcreateProduct2;
import com.company.设计模式.工厂模式.Product;

/**
 * @Classname ConcreteAbstractFactory2
 * @Description TODO
 * @Date 2021/9/13 20:40
 * @Created by ylr
 */
public class ConcreteFactory2 extends Factory{
    @Override
    public Product factoryMethod() {
        return new ConcreateProduct2();
    }
}
